package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.entity.MerchantSon;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MerchantSonMapper extends Mapper<MerchantSon> {
    /**
     * 查询商户子账号集合
     *
     * @param merchantSon
     * @return
     */
    List<MerchantSon> list(@Param("merchantSon") MerchantSon merchantSon);

    /**
     * 查询商户推广员账号集合
     *
     * @param merchantId
     * @return
     */
    List<MerchantSon> tuiGList(Integer merchantId);
}